package com.niuniu;

import com.xingli.zhajinhua.beans.Card;
import com.xingli.zhajinhua.beans.PlayerCards;

import java.util.List;

public interface CardsGameLogic {
    //生成新牌 并洗牌
    List<Card> getNewCardCollectionAndShuffle();

    //发牌
    List<Card[]> sendCards(List<Card> cardList);

    //比较
    List<PlayerCards> compareCards(List<Card[]> cardList);

    //判断牌型
    String judgeCardType(Card[] cards);

    //计算牌的价值
    int calculateCardsWeight(Card[] cards, String cardType);

    //获取玩家人数
    int getPlayerNumber();

    //获取每个玩家的牌的数量
    int getPlayerCardsNumber();
}
